package sandbox.dto;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface CollectionMapping {

    public Class<?> dtoItemsType();
    public Class<?> entityItemsType();
    public String dtoIdField() default "";
    public String entityIdField() default "";
}
